package com.wulian.service;

import com.wulian.entities.Doctor;
import com.wulian.entities.Patient;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface DoctorService {
    List<Doctor> selAllDoctor();
    Doctor selDocById(Long doctor_id);
    Integer loginDoctor(Doctor doctor);
    void updateDoctor(Doctor doctor);
    void addDoctor(Doctor doctor);
    List<Patient> getPatientByDocName(String name);
    List<Doctor> getAllByPage(@Param("pageNum")Integer num, @Param("pageSize")Integer size);
}
